Add tests for decimal numbers

Addresses #9.
Adds tests for decimal numbers.