fixed bug with deck testing