Added bunch of tests.