Added a tests.