#312 Added test