added some tests and args usage