Update test.
Replace switch statement with dispatch table.
WIP: implement more operators.