tests: Add test for State Server's "ram"-field behavior.