added test for expansions filtering