Moves tests to specs
Fixes specs