Added dump action for db command in test.sh: dumps all the tables.