improved unit tests
improved unaligned networks support
restored clean error message