changed test if