tests for BlocRepository