added unit test example - compile it via rustc --test testing.rs