Added test code +
made sure the library compiles.