##Modified test to work with any path