updated error messages
removed duplicate tests