parser for user defined expressions passing tests