Added reference test for distribution