- added spec lib and code for testing with intent framework