added basic tests for line commands