TestButtonShortcut: split tests and test data
faketablet.cpp: replace #if with #ifdef because it triggers -Wundef otherwise