converted old to tests to specs