fixes #47 | tests