updated implicit casting test functions.