verifying if method returns boolean, testing and better exception message
removing unused class
better exception and message + tests