Fix cram plugin and unit tests. Fix wire factory's ability to accept only a spec module id