fixed invalid test