minor test code refactoring
minor frametest display improvement