Fix error in the _mountPointsToMonitor function and sanitize unit tests

Bug reported here https://tracker.zentyal.org/issues/517