Added test and reverted permissions to 644.