believe I have fixed all the variable names so that this test will work with the sd driver written