app.db updated. more test cases added.