added first test for apply factors function