add test cases courtesy of isabel