Added test code to README