add test code for isLoaded()