The test command has to go at the very end

Otherwise, the flags will be sent to it instead of coverage.