Various tests on script load