added namespaces and a test file