Added tests for apply method