fcm code management: test suite and related changes

This ports an FCM CM test suite to use the "prove" format.

@matthewrmshin, please review.