added some tests
implemented coerce_to('array') properly