added pending scripts and fixed failing automated tests