Leakage test code

created a bar graph draft version