add tests written by Martin