tests for layer_selector done