Added function prototypes and start of example files in tests.