refactored some tests to use Examples