TST: add some more tests

test for gh-4494
test median returns array scalars and works with object arrays