Frontend tests bugs fixed.