add test for script setting
some cleanup, failing