Fixed missing namespaces

Discovered a problem with missing namespaces when creating a spam test