Add test cases for engine registration.