Improve numbers

I've added some tests for number types and also attempted to added conversion between rational numbers.