Add testing for line numbers to some tests

Signed-off-by: Vlad Velici <vlad.velici@gmail.com>