add initial test for layered span generation