Fixed mixed up variables in  assertion