improved selenium test handling db interactions
added functionality to add offers