Simplify testing of mountpoints