added tests to prove that it wasn't calling none existent instance variables