Fixed the reg tests