update spec file to improve testing