add tests for manual instantiation