Move tests to specs