BUG/TST: fix downcasting of float-like object array