refactored test problems