refactored tests and fixtures to be more modular and added repr tests to all models

Change-Id: I6a1b32eb483a99c42202adbd4584df38542e2205