I-divergence based testing with applications to reliability and physics