Improved implementation of nonclassicality test for a single particle