all common string test code moved to base class