FIX: add tests for the namespaced class

Forgot to add tests for the case of a namespaced class.