Finishing provider record tests

Added test cases for the provider record tests.