only run reference test
add debug output to track down segfault test
narrow down failure
update to match latest api signature
allow signature to be passes as param
merge fix branch and add back tests