Added test to check wether namespace is valid