cleaned up adagrad unit test