Tests with namespace definition