fix(test): replace be.a() with be.type()