Add test to check if config setting is correctly retrieved

add a bit more assertation description on test
Add domain id to cachestring
multipledomain config get working

fix setting test to only call create if required
minor fix on setting test where error exposed by fixes elsewhere