Testing output for correctness

added simple test to make sure output is correct