added assertion for response message to index test