addRat test implement