test improvements, readme rewrite