added data for testing
added code to test with sample data

and some doc changes