* fixed heap allocation
 * tested heap allocation and limits