enable test, and add test repository in each subdirectory