fixed the system tests