Add tests for 0f 3a table and fix bugs they found.