use separators in path construction,
fixing the previously introduced test