Added end2end test for prototype distribution analysis.