Specification analysis in mixed hazard models and a test of crossing survival functions