Added separate test for -lreadline with -ltermcap and without