add test for long implementation
adapt scalajs-compiler to not use type-history
add test files for ancestor checks