Changed test_mode resource type to bool (from string)