Fixed some bugs and made all unit tests pass

1 job for new-state in 9 minutes and 24 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #19799
test:all

00:09:24

83.0%