tests for nest controller and child directive scopes