Replace test directory with spec