added tests for role and usage, make spira soft dependancy only