glm line search fix and test update..