added test and filter