Further implemented parse, used .deep.equal in tests because regular equal doesn't work properly for plain arrays