close #36, close #37, close #38, close #39, close #40

Added test cases for CRUD and index page viewing.