added tests for ReferencesCommand, UsingsCommand and VarsCommand