Fixed unit test problem and added error handleing if there is no rna data