nth parser and tests