FIX pre-receive hook for unit tests