Updated logic around secret token & RSpec instead of Test::Unity