Completed Bagel test with nice output file