Finished unit tests for ercot