cleaned and tested the testing examples