Fix directory naming

The "test" directory was renamed to "tests" in all projects.