Move mount directive tests to their own module.