file query tests with lower option added
fixes #16 --lower option taken into account in query mode using file or dir queries