tests for the decimal validation