Rename spec folders

Rename spec/lib/core folders to match with the current core structure
Merge branch 'rename-core-specs'