VHDL codegen tests

Should improve test coverage significantly.
Oh my god, we need fixtures. Later.