Changed conditionals to use if instead of unless
Tests