Implementing parseInteger. Additional test case for parseFloat.