added a test suite to aid coverage calculations
corrected a failing test case