add working and failing tests for

#1233