[Fixed #4] Move all data verifications inside respective functions.

This moves all assertions and print statements for respective test case inside respective test case functions.