Test for varible and memory