Refactor properties class. Jasmine Coffee Test: second attemp