move test cases to src/samples