Clean tests, remove constant only used once, refactor formatting in main.rb