Started writing test code.

Still haven't successfully compiled the block diagram file.