Refactored ConfigTest

We now test a local profile and helios-ci profile. This also
allows us to test loading a profile by default (local), and
specifying one explicity (helios-ci). Also fixed issue where
prefix expression wasn't getting resolved when profile was
specified explicitly.