junit tests for coverage