final teste revision of KS test 2-side