add more assertions to test

check to make sure a namespace is always given