tweaking currentdir testing for travis