Abstracted out common testing
Change name of class