moved test cases into tests folder