test resources and menu active function.