moved test to src/test directory