fix test_scriptaclass