tests compile and pass