added more tests, made a new method for the utility module