Is buying apps that cost money for free on cydia legal?

Some people will use the method of loading Apps that would otherwise cost money on their iDevice for free as a method of testing the app in order to see if it will work for them (since there are no trials on the App Store), but this technically is illegal. Keeping them for free without paying the author is also illegal.