added some primitive tests