Added a test of the end-to-end-usage of this thing