Added tests
Merge pull request #10 from vasichkin/master

Added tests for scaling