refactored test series