BCCVL-124: Add unit tests for models and xmlrpc