fixed tests for loading spinner branch, removed references to currentlyLoadingLayers in LayerStore