[test] fix failing test, the test was not accounting for - in the path