Fixed path issues in tests