generate engine and set up testing