Fix "d != java.lang.Double" error #87
Slight tweaks to async regression test #53