ValueHandler tests now supress the warnings caused by casting Spring
beans.