Add tests for strict unit errors