improve testing - bug3.js fails!