Added tests to catch init_app error
Added app property which selects self._app or current_app
version bump