Fixed nested namespace tests

Fixed nested namespace tests