removed inline test. Updated readme with usage