adapted example plugin so tests work on windows