added unit tests for simulator