Added various tests.