fixing some test assertion styles