Adding tests with empty lists and np dtype objects. All tests pass locally.