Model entities and corresponding unit tests