replaced test with spec files