Fix TypeError. Change how method handle this specific case and rewrite the respec. test. Closes #3.