Updated test_ex1, works on Ubuntu, rm and mv don't work on windows though, will add further support