added a test
Fix bloc
assert to assertTrue