Adding assertions back into tests