discharge testing