Added setting attributes in the Repository
Added a proper test class and a method to get raw objects