Add assertion in test