added test_histogram that passes