Remove use of deprecated #lines method
Loosen up test