changed working of normality test