Added unit test for null or empty input parameters