Look at test.cpp for more features!