Added Test Based on example for reference