fix failing test of static methods