fixed input code and tests, added function tests
added all test exceeding minutes/second quantity and capacity