updates to resource based spec helpers for for better testing functionality