Fixed findFunction test, added type check tests to constructor_tests.c, and fixed bitfield bugs in structs.h