Add a test for passing extra props to statics