attempt at test case