Updated tests for reuse and added a complete Example