add more test for engine