added unti test for parsing, ported some operators to new diff methodology