Port the tests