added tests for signals emitting when component is added/removed; fixed bug with components being removed from entity not emitting signal