added capabilities filtering tests