add tests and support for device ready after event fired