Fixing path and test func