Added tests for the spinner