moved test files to lib