fix skip layers that not defined in stack
add first tests