fix testing & array syntax