Better handle Math Processing Error
Add a test for issue 384.
Fix typo in a reftest manifest.
Add more tests for issue 363.