refactor & add test for getBowerCommand()
Merge remote-tracking branch 'origin/master'