[#2477] Fixing code style in tests