Added more tests

Review by @jspam please
Maybe test creating arrays of user-defined classes, too?