adding test cases for hmm profiles being sorted when sent to view