moved tests to layer dirs