added test coverage with emma