Minor fixes for FMX Tests and framework fixes for elements.