Some improvements in tests system