handle mixed numbers
added some tests for mixed numbers