Move test to manual
Eliminate unused foreign decls