layer test added and tested