[misc] Improved test