bugfix: tests