fixed rake T to compile in the T directory

T isn't a valid module name, so working around that by just running the
tests from that directory
add tests for new example functions