added regression example; started coding tests
updated README example