moved method from validation interceptor to utility class, added test