dry up boot.rb, add test