made some changes in tests and the number class