add tests
Merge pull request #100 from goretkin/general_number

add tests