Added tests to show that commitment status is saved in the database like the rest of the variables; also added addStatus method