Added spec-tests and parsing long results