docs fixed
fixed tests for failing; fail test for loading script with BOM
fixed files being always loaded