Added more tests. AH-294

More tests added but i keep finding bugs so the tests fails. So after almost every test a small fix needs to be done which makes it progress slowly.