test case implementations