Add test for incremental build, refactor test code
Merge pull request #19 from pmorie/test

Add test for incremental build, refactor test code