Add test for browser back button

This addresses issue #450