Simulator unit tests