Added a test and speed test examples for #37.