Added TestDetection( ) unit tests

TestDetection( ) will be the converted acceptance test