Add tests

Make sure _findScope works when not attached to DOM