Performed tests on sample data,formatted output