testing static methods