updated LockedResourcesTest and ThemesControllerTest