Kata 3.2: Fixed bug that only the first document is updated. Added cleanup of database after test.