Implemented Test cases