Added functionality to get punches into test db