Due to beaker not detecting root for metadata.json, we have to be explict

also adds negative test case for exception catching.