TST/API: Add tests and engine='auto' logic.