add a failing test
refactor
instantiate template function call in template classes