find applications by oid instead of name
wip on mocha tests for preview