Base for spinner code/tests