Test realise of singleton pattern.