Upgrade spark button test

@zoechi: I've upgraded and fixed the test that you've created in #1430. I don't want to steal the credit, so could you please apply these changes to #1430 (copy-and-paste should do) and reupload it? Thanks!