added broken input tests
added more tests