Roy|000|Removed unused local variable,added a test