adds tests on convert method.