Added tests for record and tuple equality, fixed minor errors, solved issue with parser getting stuck parsing tuples inside brackets.