Initial commit of unit tests, due to Malin Kallen