Compile spec files into a spec plugin, and add test case for it