Added tests with relative namespace in object declartion