Fixed missing analysis ref and added test
Simplified test
Merge pull request #155 from sdelements/fix_missing_analysis_ref

Fixed missing analysis ref and added test