Added check mate test