RecordControllerTest added

added Unit test class for record controller with base methods