Added test_llcont.R and corrections