Fixed IE and Firefox issue in test