Add tests for number functions