added some runnable test code