add specs for spinner class