Added support for illegal values.
Updated tests to support user story 2.