Rspec fixes and additions, license acceptance documentation and tidy up