fixed old tests that failed on jenkins