moving some examples to tests