Added test for custom hide function
Fixes #9: 'View is not set'