added test cases for paid, received controller