tests. fixed #5