added test spec for employee model and fixed duplicating view