added suport to dump/restore db between tests, start writing meaningful rake tests