Ticket #161 - Added test to make sure preview state is retained.