Changed indexing for splitting line during assertion