updated realm tests