Fixing TabLayoutAssert.hasMode

Now it should properly retrieve tab mode instead of tab count.