modularize UI tests