Added tests for BeeHub_Resource
Added some tests for BeeHub_Principal