Added script to generate missing tests

This script will basically search for a file of the same name in the
test/tests directory and then string search in that file for field
and function names. Simple but effective for what we're doing.