Added additional tests for entities referencing entities via config keys