Improved homepage SQL example
[#2345] Singleton instances are not preserved after deserialisation -
Add failing test