A numerical test for the existence and uniqueness of solution of free boundary problems