Created 8th test: negative number will throw an exception