Improving tests for error description and decimal precision issues