Fix a test error and an end() bug
0.1.5