Added range support for the add command to test