Add spec helper and sample