move spec to each file