Fixing SMF tests