added POST test scenario
refactored code to use sqlite3 db