add module declarations to tests