Improved tile test