Some bug fixes and test README for public directory