fixed bug for highlighting and replacing test