completed each test for obj. write test for handling null next