test stopLoading