pull request for adding demo and test for Spinner