Add test for function content, fix imports in test suite.