Updated tests, and added example bench.