update tests files
fix command line entry point