make tests work in different paths