layer toggle is working with some tests