Added unit test for entity

Included unit test setup for Application module - may require
improvements