looks like test func may be the issue