added tests based on istanbul analysis