change db to postgres and add testing gems