Replace unit tests with specs