Fix namespaces handling, added extra tests, cleaned up test configuration