updated tests to deal with the way examples have been built