issue 10, js test closures