Renamed repository tests for clarification and cleaned up comments