add forumla tests, fix parse_RtoL to accecpt optional expression parameter to make all formula tests pass