Unit test for the engine class written and xml comments finished.