Fixed issue in elements test.