Write tests and implement code for initialize methods of all entities