Added first automated tests