Added tests for planck's functions