Adding test for #300