working postgres backend test