Updating function name and tests to be more readable