added tests for #25