adding tests for #48