test: add tests for generating a Makefile

Signed-off-by: Alberto Corona <alberto@0x1a.us>