added getJSON test and failing promise test