Extracted spec helper