#4 entity unit testing