don't assert within invariants checks

Change-Id: I8bd43ea8f8e95a530df9902a6e17c6e74883b6ab
Signed-off-by: Alessandro Salvatori <sandr8@gmail.com>
fixlet for checkInvariants

Change-Id: I7de5fa9a3d256362be54d2b87bfa6dc5bd1d97eb
Signed-off-by: Alessandro Salvatori <sandr8@gmail.com>
some cleanup

Change-Id: I065ed1fc5fee552064ef0cbfed475d277971232a
Signed-off-by: Alessandro Salvatori <sandr8@gmail.com>