Add unit tests for buildfile config instructions

Add tests for instructions in the buildfile that
modify the config of the resulting image.
Merge pull request #1169 from crosbymichael/buildfile-tests

Add unit tests for buildfile config instructions