Fix for #46. Unit tests and examples are now executed off the 'latest' build code.