Added namespace support and new test for that

+ some coding standard fixes