Added Utils class and some unit tests