Adds some tests and enables apc, redis services at travis for testing.