Reset warnings in test_phenom_unknown.

This PR is an attempt to address #528. It resets the warnings registry in prior to checking that expected warnings are raised.