Make bin/test work when run from other dirs