tests and exaples