Performing Top-level function testing.