smoketests: Added windows support, automatic detection of the jar to test