Added tests for madlib.glm