updated spec helper