Cleaned up SnapSearchException for validation messages and added a test for SnapSearchException