Tasty test suite and bug fix