Fixing some issues with SimpleEngine test