Added unit tests for params and request class