fix bugs causing Error ActiveRecord::RecordNotFound when running unit/license_test.rb
fix bugs causing Error ActiveRecord::RecordNotFound when running unit/license_test.rb

JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,raysuelzer/mushroom-observer,raysuelzer/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,raysuelzer/mushroom-observer,MushroomObserver/mushroom-observer,pellaea/mushroom-observer,raysuelzer/mushroom-observer,MushroomObserver/mushroom-observer,pellaea/mushroom-observer,JoeCohen/mushroom-observer,raysuelzer/mushroom-observer,raysuelzer/mushroom-observer,pellaea/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,pellaea/mushroom-observer,raysuelzer/mushroom-observer,JoeCohen/mushroom-observer,pellaea/mushroom-observer,JoeCohen/mushroom-observer,pellaea/mushroom-observer,pellaea/mushroom-observer,MushroomObserver/mushroom-observer