automatically resolve phantom js binaries in tests