updated test to be path independent