Add assert statements to tests