added some more tests

added some endcase tests