added unit tests for ridwan