added cobertura coverage xml and fixed failing unit test