added tests for layer loading attribute