Moved doc-tests to a separate target

I'm not sure what it actually does anyway.