completed test for apply process