test cases for `create` in `state` 'minimized' and 'maximized'