Trim trailing os.PathSeparator for test paths (#44)