Added test functionality for xCore build script

you can use the command line to test all the extensions with scripts/xcore test all
or you can test a single extension with scripts/score test <extension_name>