factor out test_frame
remove .pyc
add VariableSet