migrated the tests to specs2