some modifications of test6