Added pending status && tests for pending && completed