Updating Insert test case to use functions to check for key, color and leaf