Added a test and speed test examples for #37.
Merge pull request #43 from redboltz/add_test_and_example_for_37

Added a test and speed test examples for #37.