Fixed some testing bugs, added helloworld example