added assert_srpm to check if given object is myrepo.srpm.Srpm instance and corresponding test cases for it