Unit tests for the engine