Added first automated tests.