rename namespace

add ability to rename namespaces
add test for this new feature.