Made RepMap test reliable