Added jUnit test cases for every class. 

Tests not implemented for Photo and Database.