#21 added more tests and refactored the asserts in ipc to look for length greater or equals to 0