PHP unsolved kata with preliminary tests included