methods tests