Fixed event tests
Fixed bd migrations, view and route clean up