Add unit tests for buildfile config instructions

Add tests for instructions in the buildfile that
modify the config of the resulting image.