check samples path and run tests