added tests for @InstanceState annotation