Refined Main, sorts test control once per instance