Addresses xml issues for quota unit tests

Moved check for xmlns to avoid saving to db
Change-Id: I8d5d9eb7295574f0d24e1de3e92ced26721fd8eb
Fixes: bug #1150903
Merge "Addresses xml issues for quota unit tests"