Fix some tests

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>