adding EndToEnd test with example usage