better assertions with lines method