Implement usageInfo function + unit-tests