IACO-470 open preferences

Add a test