[feature] Add tests
[fix] Make passing 0 indexed arrays work