refactoring class test by extracting common behavior
don repeat yourself in test
Adding tests for common behavior in class/trait/interface