Test for executing cached script