Namespaced tests, see #729
Closes #729