Fixed tests for version and agent

Maybe just skip the linux test on windows and leave the rest?