Add tests for batman_define_views