Fix an off-by-one when copying the subject to the workspace

and add a test for it

Fixes #3
.gitlab-ci.yml not found in this commit