edited tests for with usage