improve toNumber() function
update testcase for toNumber() function
bump version to 0.1.11