replaced test files with real lib/spec