#8 add tests for to_ methods