added building and running unit tests in the scripts