got things working with test cases