Moved n3 functionality in the n3 namespace.
Refactored the 'put' test.