test bloc lifecycle with thunk

fun test bloc lifecycle with thunk(): <Error class: unknown class>