fixing tests so it passes panda