added new unit test for problem case when parsing scripts. now can mix various script resource types within a script without problems.