Added more unit tests. Refs #9378.