Issue #3: added unit tests to build.rb