Add testcase for #3

Looks like it's passing in firefox and chrome