Added unit tests for this module with d17af4beafa8748e202463a4c6469c035fedde50